import {FormSchema} from '@/components/table';

/**
 * 表单定义
 */
export const formSchema: FormSchema[] = [
  {
    label: '服务提供商',
    field: 'nickName',
    component: 'Select',
    componentProps: {
      options: [
        {label: '本地服务器', value: 'LOCAL_OSS'},
        {label: '阿里云', value: 'ALI_OSS'},
        {label: 'Minio', value: 'MIO_OSS'},
      ],
    }
  },
  {
    label: 'accessKey',
    field: 'accessKey',
    component: 'Input'
  },
  {
    label: 'secretKey',
    field: 'secretKey',
    component: 'Input'
  },
];
